﻿using GameServer.ShootingGame.WeaponsClasses;
using GameServer.ShootingGame.WeaponsClasses.LaunchProfiles;
using GameServer.ShootingGame.RenderableClasses;
using GameServer.ShootingGame;

namespace GameServer.ShotInTheDark.Weapons
{
    public class GuidedRocketWeapon : Weapon
    {
        public GuidedRocketWeapon()
        {
            WeaponInfo_Primary = new WeaponInfo(LaunchProfiles.ADJUSTING_TRAJECTORY, 0.4, 10, 10, 50, 1000, int.MaxValue, 1, 1, 1, 0, 1, 0, 0, 0, 0.18);
            WeaponInfo_Primary.ordinanceSample = new RocketOrdinance() { weaponInfo = WeaponInfo_Primary };
            type = 4;
        }

        public static PickupObject GetPickupObject(GamePlayManager gamePlay)
        {
            PickupObject pO = new PickupObject() { GamePlayManager = gamePlay, pickupItem = new GuidedRocketWeapon() };
            pO.StartUpdate();
            return pO;
        }
    }
}
